<!--
 * @Author: Zhijie Luo
 * @LastEditors: Zhijie Luo
 * @Date: 2020-09-02 22:32:19
 * @LastEditTime: 2022-02-20 16:47:06
 * @Description: 
-->
<template>
  <div class="home">
    娟 in Vue Cli Demo
  </div>
</template>

<script>
import { reqGetText, reqPostText } from "@/api/text_api";
import { Toast } from "vant";
import api from "@/api";
export default {
  name: "home",
  mounted() {
    Toast.loading({
      message: "加载中...",
      forbidClick: true,
      duration: 0
    });
    api.sendSMSCode().then(res => {
      Toast.clear();
      console.log("result", res);
    });
    // reqGetText({ name: "chen" });
    // reqPostText({ name: "chen" });
  }
};
</script>
<style lang="scss" scoped>
.home{
  font-weight: bold;
}
</style>
